package com.jvyou.app.ds.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jvyou.app.common.domain.dto.RoleDto;
import com.jvyou.app.common.domain.entity.Role;
import com.jvyou.app.common.domain.model.PageResult;

import java.util.List;

/**
 * 角色信息表(Role)表服务接口
 *
 * @author 橘柚
 * @since 2025-03-05 14:11:41
 */
public interface RoleService extends IService<Role> {

    PageResult<Role> pageRole(RoleDto roleDto);

    List<Role> listRole(RoleDto roleDto);

    Boolean assignPermissions(Long id, List<Long> menuIds);
}

